body {
    background-color: #f9f9f9;
    color: #333;
    font-family: Arial, sans-serif;
}

.detail-page {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.question-card {
    border: 1px dashed #888;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background-color: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.page-button {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.page-button.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.page-button:hover {
    background-color: #0056b3;
    color: #fff;
}
.markdown-answer {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.markdown-answer h4 {
    margin-top: 0;
    color: #007bff;
}

.markdown-answer ul, .markdown-answer ol {
    margin-left: 20px;
    padding-left: 10px;
}

.markdown-answer li {
    margin-bottom: 5px;
}

.markdown-answer p {
    margin: 5px 0;
}

.header-container {
    display: flex;
    justify-content: space-between; /* 在主轴上分配空间，h1在左，button在右 */
    align-items: center; /* 垂直居中 */
    padding: 10px 20px;
}

h1 {
    margin: 0; /* 去除h1默认的外边距 */
}

.botombtn {
    /* 按钮的样式 */
    padding: 10px 20px;
    background-color: #007bff;
    width: 30%;
    color: white;
    border: none;
    cursor: pointer;
}
